package com.css.devops.domain;

import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class PipelineMonitor extends BaseDevops {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 显示名称
	 */
	@ApiModelProperty(value = "显示名称")
	private String displayName;
	/**
	 * 持续时间 ms
	 */
	@ApiModelProperty(value = "持续时间 ms")
	private Long duration;
	/**
	 * 开始时间
	 */
	@ApiModelProperty(value = "开始时间")
	private Date startTime;
	
	/**
	 * 构建结果
	 */
	@ApiModelProperty(value = "构建结果")
	private BuildResult result;
	
	/**
	 * 构建状态
	 */
	@ApiModelProperty(value = "构建状态")
	private BuildState state;
	/**
	 * 阶段
	 */
	@ApiModelProperty(value = "阶段")
	private String type;
}
